// src/App.tsx
import React, { useState } from "react";
// import "./app.less"; // 引入 Less 文件
import "@/app.less";
import "@/apptest";
function App() {
  const [count, setCount] = useState(0);

  const handleClick = () => {
    setCount(count + 1);
  };

  return (
    <div className="App">
      <h2>webpack5-react-ts</h2>
      <div>{count}</div>
      <div onClick={handleClick}>click me</div>
    </div>
  );
}

export default App;
